<#include "../../page.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
    <th>年度</th>
        <th>项目</th>
        <th>类型</th>
    <#list 12..0 as t>
        <#if (weekNum-t>13 && weekNum-t<=26)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-13!''}</th>
        <#elseif (weekNum-t>26 && weekNum-t<=39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-26!''}</th>
        <#elseif (weekNum-t>39)>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t-39!''}</th>
        <#else>
            <th style="text-align:right">Q${((weekNum-t+12)/13)?int}WK${weekNum-t!''}</th>
        </#if>
    </#list>

  </tr>
    </thead>
<tbody>
<#if cwHytbsTable.rows??>
<#list cwHytbsTable.rows as cwHytb>
    <tr>
 <td>${cwHytb.nian!''}年</td>
            <td>${cwHytb.projects!''}</td>
            <td>${cwHytb.dataItem!''}</td>

        <td style="text-align:right">${cwHytb.ak1!''}</td>
        <td style="text-align:right">${cwHytb.ak2!''}</td>
        <td style="text-align:right">${cwHytb.ak3!''}</td>
        <td style="text-align:right">${cwHytb.ak4!''}</td>
        <td style="text-align:right">${cwHytb.ak5!''}</td>
        <td style="text-align:right">${cwHytb.ak6!''}</td>
        <td style="text-align:right">${cwHytb.ak7!''}</td>
        <td style="text-align:right">${cwHytb.ak8!''}</td>
        <td style="text-align:right">${cwHytb.ak9!''}</td>
        <td style="text-align:right">${cwHytb.ak10!''}</td>
        <td style="text-align:right">${cwHytb.ak11!''}</td>
        <td style="text-align:right">${cwHytb.ak12!''}</td>
        <td style="text-align:right">${cwHytb.ak13!''}</td>
    </tr>
</#list>
</#if>
    </tbody>
</table>
<#if cwHytbsTable??>
<@page table=cwHytbsTable formId="search_cwHytb_table"/>
</#if>